package edu.tyut.ncp.dao;

import edu.tyut.ncp.entity.Shoppingcart;
import edu.tyut.ncp.model.ShoppingModel;
import org.springframework.stereotype.Component;

import java.util.List;
@Component

public interface ShoppingcartDao {

    int deleteByPrimaryKey(Integer shoppingId);

    int insertSelective(Shoppingcart shoppingcart);

    List<ShoppingModel> selectByShopping(Shoppingcart shoppingcart);

    int updateByPrimaryKeySelective(Shoppingcart shoppingcart);
}
